export default {
  common: {
    loading: "加载中...",
    error: "错误",
    success: "成功",
    cancel: "取消",
    confirm: "确认",
    save: "保存",
    delete: "删除",
    edit: "编辑",
    back: "返回",
    refresh: "刷新",
    networkError: "网络错误",
    requestFailed: "请求失败",
    errorMessage: "网络请求信息",
  },
  article: {
    title: "文章管理",
    create: "新建文章",
    edit: "编辑文章",
    delete: {
      title: "确定要删除这篇文章吗？",
      success: "删除成功",
      error: "删除失败",
    },
    form: {
      title: "标题",
      titleRequired: "请输入标题",
      slug: "URL别名",
      slugRequired: "请输入URL别名",
      category: "分类",
      content: "内容",
      contentRequired: "请输入内容",
      status: "状态",
      tags: "标签",
      imageUpload: "图片上传",
      edit: "编辑",
      preview: "预览",
      maxTagsReached: "最多只能添加 {max} 个标签",
      tagsCount: "已添加 {count}/{max} 个标签",
      removeTag: "点击删除标签",
      newTag: "新建标签",
      editTag: "点击编辑标签",
      slugFormat: "只能使用小写字母、数字和连字符",
      slugMaxLength: "最大长度为100个字符",
    },
    preview: {
      category: "分类",
      status: "状态",
      tags: "标签",
      noContent: "暂无内容",
      title: "预览文章",
      updateTime: "更新时间",
      createdAt: "创建时间",
      updatedAt: "更新时间",
    },
    editor: {
      write: "编辑",
      preview: "预览",
      uploadImage: "上传图片",
      uploadVideo: "上传视频",
      placeholder: "请输入内容...",
    },
    status: {
      published: "已发布",
      draft: "草稿",
    },
    action: {
      create: "创建",
      update: "更新",
      cancel: "取消",
      save: "保存",
      createSuccess: "创建成功",
      createError: "创建失败",
      updateSuccess: "更新成功",
      updateError: "更新失败",
      fetchError: "获取文章失败",
      fetchListError: "获取文章列表失败",
    },
    list: {
      updateTime: "更新时间",
      operations: "操作",
      total: "共 {total} 条",
    },
  },
  upload: {
    text: "点击上传",
    success: "上传成功",
    error: "上传失败",
    maxSize: "图片大小不能超过2MB",
    format: "只支持 jpg/png 格式",
  },
  auth: {
    loginTitle: "PayPaya CMS 登录",
    username: "用户名",
    password: "密码",
    login: "登录",
    loginSuccess: "登录成功",
    loginError: "登录失败，请检查用户名和密码",
    usernameRequired: "请输入用户名",
    passwordRequired: "请输入密码",
    logout: "退出登录",
    logoutSuccess: "已退出登录",
    notLogin: "请先登录",
    unauthorized: "未授权访问",
    logoutConfirmTitle: "确认退出",
    logoutConfirmContent: "确定要退出登录吗？",
  },
};
